package com.dudu.dladminserver.service;

import com.dudu.dladminserver.pojo.PageBean;
import com.dudu.dladminserver.pojo.User;

import java.util.List;

public interface UserService {

    PageBean page(Integer offset, Integer limit, String username, String phone, String nickname, Short status);

    void delete(List<Integer> ids);

    void add(User user);

    void update(User user);

    User getById(Integer id);

    User login(User user);
}
